package com.jackiechancinema.ssm.service.Inte;

import com.jackiechancinema.ssm.bo.ContractBo;
import com.jackiechancinema.ssm.entity.Contract;
import com.jackiechancinema.ssm.entity.Emp;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ContractService {
    //新增
    R insert(Contract contract);
    //查询
    PageVo<Contract> queryPage(ContractBo contractBo);

    //删除
    R deleteById(int id);
    //批量删除
    R deleteBatch(List<Contract> contract);
    //修改
    R update(Contract contract);

    R insertBatch(MultipartFile file);

    void exportExcel(ContractBo bo, HttpServletResponse response);
}
